export const titles = {
	id: '编号',// id
	productId: '产品类型id',// productId
	commandName: '命令名称',// commandName
	commandAlias: '命令别名',// commandAlias
	paramType: '参数类型',// paramType
	value1: '固定值的值',// value1
	value2: '范围值的值',// value2
	value3: '枚举值的值',// value3
	remark: '备注',// remark
	action: '操作',
	hasConfig: '读取配置',
}
export const prompt = {
	id: '请输入' + titles.id,
	productId: '请输入' + titles.productId,
	commandName: '请输入' + titles.commandName,
	commandAlias: '请输入' + titles.commandAlias,
	paramType: '请选择' + titles.paramType,
	value1: '请输入' + titles.value1,
	value2: '请输入' + titles.value2,
	value3: '请输入' + titles.value3,
	remark: '请输入' + titles.remark,
	hasConfig: '请选择' + titles.hasConfig,
}
export const defaultSearchForm = () => {
	return {
		page: 1,
		limit: 10,
	}
}
export const defaultInfoForm = () => {
	return {
		id: null,// id
		productId: null,// productId
		commandName: null,// commandName
		commandAlias: null,// commandAlias
		paramType: null,// paramType
		value1: '',// value1
		value2: [null, null],// value2
		value3: [],// value3
		remark: null,// remark
		hasConfig:null
	}
}
